package thread;
import cputils.CPHMWYService;

/**
 * (C) Copyright 2012 ZWW
 */

/**
 * @author ZWW
 * @date 2014-3-22 下午7:49:41
 * @version V1.0
 */
public class WYServiceThread implements Runnable{
	private String game;
	private String issueNo;
	private boolean onsale;
	public WYServiceThread(String game,String issueNo,boolean onsale){
		this.game = game;
		this.issueNo = issueNo;
		this.onsale = onsale;
	}
	
	@Override
	public void run() {
		CPHMWYService service = new CPHMWYService();
		service.writeWYHMData(game, issueNo, onsale);
	}
	
}
